package controller_logger

import (
	"elflog/common/dig"
	"elflog/component/nlog"
	service_logger "elflog/module/service-logger"
)

type ControllerLogger struct {
	loggerService *service_logger.LoggerService
	log           *nlog.NLog
}

func NewControllerLogger(loggerService *service_logger.LoggerService, log *nlog.NLog) *ControllerLogger {
	return &ControllerLogger{
		loggerService: loggerService,
		log:           log,
	}
}

func init() {
	dig.Container.MustProvide(NewControllerLogger)
}
